{extend name="tpl/site_0/default/pc/public/layout.html" /}
{block name="title"}会员登录_{$webConfig.WEBNAME}{/block}
{block name="head"}
{:widget('common/Form/validRes')}
<link href="__SITE_PUBLIC__/css/dlstyle.css" rel="stylesheet" type="text/css">
{/block}
{block name="body"}
<div class="login-boxtitle">
    <a href="/"><img alt="logo" src="__SITE_PUBLIC__/image/logobig.png" /></a>
</div>
<div class="login-banner">
    <div class="login-main">
        <div class="login-banner-bg"><span></span><img src="__SITE_PUBLIC__/image/big.jpg" /></div>
        <div class="login-box">
            <h3 class="title">登录商城</h3>
            <div class="clear"></div>
            <div class="login-form">
                <form id="form" method="post">
                    <div class="user-name">
                        <label for="user"><i class="am-icon-user"></i></label>
                        <input type="text" name="username" id="user" data-type="*" placeholder="邮箱/手机/用户名">
                    </div>
                    <div class="user-pass">
                        <label for="password"><i class="am-icon-lock"></i></label>
                        <input type="password" name="password" id="password" placeholder="请输入密码" data-type="*">
                    </div>
                    <div class="user-code">
                        <img class="vcode" id="refresh" onclick="refreshVerify(this)" src="{:captcha_src()}">
                        <input class="vcode" data-type="*" name="reg-vcode" placeholder="图形验证码" type="text">
                    </div>
                    <span id="validError"></span>
                    <div class="clearfix">
                        <button class="confirm reg login" onclick="ajaxSubForm();" type="submit">立即登录</button>
                    </div>

                <script>
                    function refreshVerify(th) {
                        var ts = Date.parse(new Date()) / 1000;
                        $(th).attr('src', "/captcha?id=" + ts);
                    }
                </script>
            </div>
            <div class="login-links">
                <label for="remember-me"><input id="remember-me" type="checkbox">记住密码</label>
                <a href="#" class="am-fr">忘记密码</a>
                <a href="register.html" class="zcnext am-fr am-btn-default">注册</a>
                <br />
            </div>
            <div class="am-cf">
                <input onclick="ajaxSubForm();" type="submit" value="登 录" class="am-btn am-btn-primary am-btn-sm">
            </div>
            </form>
        </div>
    </div>
</div>
{/block}